package com.cyt.work.association.job;

import com.cyt.work.association.service.WxAssociationNewService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by Administrator on 2019/9/23.
 */
public class AssociationNewStatusJob implements Job {
    @Autowired
    private WxAssociationNewService wxAssociationNewService;

    @Override
    public void execute(JobExecutionContext jobExecutionConext) {
        // 每5秒更新一次状态
        wxAssociationNewService.updateStatusByTime();
    }
}
